<template>
  <div style="height: 100%;background-color: #232733; border-radius: 10px;" ref="chart"></div>
</template>

<script setup>
import { onMounted, ref } from 'vue';
import * as echarts from 'echarts';

let chart = ref(null);
var myChart = null

let option = {
  polar: {
    radius: [65, '80%']
  },
  angleAxis: {
    max: 4,
    startAngle: 75,
    show: false

  },
  radiusAxis: {
    type: 'category',
    data: ['ip11'],
    show: false
  },

  tooltip: {},
  series: {
    type: 'bar',
    data: [2],
    coordinateSystem: 'polar',
    label: {
      show: false,
    },
    showBackground: true,
    backgroundStyle: {

      color: 'rgba(180, 180, 180, 0.2)'
    }
  }
};

onMounted(() => {
  myChart = echarts.init(chart.value);
  myChart.setOption(option);
});
</script>
